package org.jamin.lending.repository;

import org.jamin.lending.domain.entity.BorrowInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface BorrowInfoRepository extends JpaRepository<BorrowInfo, Integer>{

    Page<BorrowInfo> findByStatus(BorrowInfo.Status status, Pageable pageable);

}
